﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>工单审核</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="css/plugins/treeview/bootstrap-treeview.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">

    <link href="css/plugins/chosen/chosen.css" rel="stylesheet">
    <!-- Sweet Alert -->
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet">
    <link href="css/add-style.css" rel="stylesheet">
    <link href="css/plugins/blueimp/css/blueimp-gallery.min.css" rel="stylesheet">
    <style>
        .lightBoxGallery img {
            margin: 5px;
            width: 160px;
        }
    </style>
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content">
        <div class="row">
            <div class="col-sm-12 animated fadeInRight">
                <div class="ibox-content">
                    <span class="text-muted small pull-right"><a data-toggle="modal" href="charge_office.html#modal-remark" class="btn btn-danger btn-sm"><i class="fa fa-dollar"></i> 开发文档 </a></span>
                    <h2>工单审核</h2>
                    <hr />
                    <div class="row">
                        <div class="col-sm-6 m-b-xs">
                            <!--<div class="group">
                                <label class="col-sm-2 control-label">是否有偿</label>
                                <div class="col-sm-4">
                                    <div class="rule-single-checkbox">
                                        <input id="cbIsSpec" type="checkbox" name="cbIsSpec" checked="checked" />
                                    </div>
                                </div>
                            </div>-->
                        </div>
                        <div class="col-sm-6">
                            <div class="input-group pull-right">
                                <input type="text" placeholder="请输入关键词，支持模糊查询" class="input-sm form-control"> <span class="input-group-btn">
                                    <button type="button" class="btn btn-sm btn-primary"> 搜索</button>
                                </span>
                            </div>
                        </div>
                    </div>
                    <hr />
                    <div class="table-responsive">
                        <table class="table table-striped table-hover">
                            <thead>
                                <tr>
                                    <th>编号</th>
                                    <th>工时金额</th>
                                    <th>负责人</th>
                                    <th>协助人</th>
                                    <th>报修内容</th>
                                    <th></th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td><a data-toggle="modal" href="workorder_callback.html#modal-look">TSN201608170003-C </a></td>
                                    <td>30分钟/&yen;0</td>
                                    <td>赵柳房</td>
                                    <td>
                                        张三,李四,王五,赵柳
                                    </td>
                                    <td>
                                        <span title="业主投诉：1.昨天晚上报修马桶不上水，师傅师傅也去查看过，说快下班了不好修，明天再给维修。业主又拨打了前台电话，前台告知明天早上一上班就马上派人去维修。但是一直到现在未见任何维修师傅，业主很生气投诉工作人员不负责任没有给做记录。">业主投诉：1.昨天晚上报修马桶不上水，师傅师傅也去查看过...</span>
                                    </td>
                                    <td>
                                        <a data-toggle="modal" href="workorder_callback.html#modal-callback" class="btn btn-primary btn-sm"><i class="fa fa-pencil"></i> 修改 </a>
                                        <button type="button" class="btn btn-sm btn-danger demo4"><i class="fa fa-search"></i>通过</button>
                                    </td>
                                </tr>
                                <tr>
                                    <td><a data-toggle="modal" href="workorder_callback.html#modal-look">TSN201608170003-C </a></td>
                                    <td>16小时/&yen;0</td>
                                    <td>赵柳房</td>
                                    <td>
                                        张三,李四,王五,赵柳
                                    </td>
                                    <td>
                                        <span title="自定义工时">天目路水管爆裂，凌晨3点抢救到下午4点...</span>
                                    </td>
                                    <td>
                                        <a data-toggle="modal" href="workorder_callback.html#modal-callback" class="btn btn-primary btn-sm"><i class="fa fa-pencil"></i> 修改 </a>
                                        <button type="button" class="btn btn-sm btn-danger demo4"><i class="fa fa-search"></i>通过</button>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div class="text-right">
                            <ul class="pagination">
                                <li><a href="#">页数：1/10,总记录数：1000</a></li>
                                <li><a href="#">&laquo;</a></li>
                                <li><a href="#">1</a></li>
                                <li><a href="#">2</a></li>
                                <li><a href="#">3</a></li>
                                <li><a href="#">4</a></li>
                                <li><a href="#">5</a></li>
                                <li><a href="#">&raquo;</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <div id="modal-liveline" class="modal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <div class="ibox-content">
                        <div class="photos">
                            <img alt="image" style="width:100%;height:100%;" src="img/工单分配.png">
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--查看工单Start-->
    <div id="modal-look" class="modal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <span class="text-muted small pull-right">编号：WXN201612010005-C 报修：<i class="fa fa-clock-o"></i> 2015-09-01 12:00</span>
                    <h3>查看工单</h3>
                    <div class="ibox-content">
                        <table class="table table-hover">
                            <tbody>
                                <tr>
                                    <td style="width:13%;">
                                        <strong>业主信息：</strong>
                                    </td>
                                    <td colspan="3">
                                        富力城一期/A09楼栋/8/A09-02-0808
                                        <small>业主：张健康 TEL：13811112222</small>
                                        <small>来电：张夫人 TEL：13311112222</small>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <strong>报修内容：</strong>
                                    </td>
                                    <td colspan="3">
                                        业主投诉：1.昨天晚上报修马桶不上水，师傅师傅也去查看过，<br />
                                        说快下班了不好修，明天再给维修。业主又拨打了前台电话，前台告<br />
                                        知明天早上一上班就马上派人去维修。但是一直到现在未见任何维修师傅，<br />
                                        业主很生气投诉工作人员不负责任没有给做记录。
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <strong>回访情况：</strong>
                                    </td>
                                    <td colspan="3">
                                        <span style="color:red;">业主不满意</span><br />
                                        业主投诉：1.昨天晚上报修马桶不上水，师傅师傅也去查看过，<br />
                                        说快下班了不好修，明天再给维修。业主又拨打了前台电话，前台告<br />
                                        知明天早上一上班就马上派人去维修。但是一直到现在未见任何维修师傅，<br />
                                        业主很生气投诉工作人员不负责任没有给做记录。
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <strong>下单人：</strong>
                                    </td>
                                    <td>
                                        张丽芳
                                    </td>
                                    <td class="text-right">
                                        <strong>分配人：</strong>
                                    </td>
                                    <td class="text-left">
                                        陆国清
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <strong>处理人：</strong>
                                    </td>
                                    <td>
                                        张丽芳
                                    </td>
                                    <td class="text-right">
                                        <strong>回访人：</strong>
                                    </td>
                                    <td class="text-left">
                                        郝燕
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                        <div class="ibox-content timeline">
                                            <div class="timeline-item">
                                                <div class="row">
                                                    <div class="col-xs-3 date">
                                                        <i class="fa fa-briefcase"></i> 6:00
                                                        <br>
                                                        <small class="text-navy"> 张三 </small>
                                                    </div>
                                                    <div class="col-xs-9 content no-top-border">
                                                        <p class="m-b-xs">
                                                            <strong>工单完成</strong>
                                                        </p>
                                                        <p>未检查出问题</p>

                                                        <div class="lightBoxGallery">
                                                            <a href="img/p_big1.jpg" title="图片" data-gallery=""><img src="img/p1.jpg"></a>
                                                            <a href="img/profile_big.jpg" title="图片" data-gallery=""><img src="img/p2.jpg"></a>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="timeline-item">
                                                <div class="row">
                                                    <div class="col-xs-3 date">
                                                        <i class="fa fa-file-text"></i> 7:00
                                                        <br>
                                                        <small class="text-navy"> 李四 </small>
                                                    </div>
                                                    <div class="col-xs-9 content">
                                                        <p class="m-b-xs">
                                                            <strong>开始处理</strong>
                                                        </p>
                                                        <p>重启服务</p>
                                                        <div class="lightBoxGallery">
                                                            <a href="img/p_big3.jpg" title="图片" data-gallery=""><img src="img/p3.jpg"></a>
                                                            <a href="img/profile_big.jpg" title="图片" data-gallery=""><img src="img/p2.jpg"></a>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="timeline-item">
                                                <div class="row">
                                                    <div class="col-xs-3 date">
                                                        <i class="fa fa-coffee"></i> 8:00
                                                        <br>
                                                        <small class="text-navy"> 李四 </small>
                                                    </div>
                                                    <div class="col-xs-9 content">
                                                        <p class="m-b-xs">
                                                            <strong>工单领料</strong>
                                                        </p>
                                                        <p>重启服务</p>
                                                        <div class="lightBoxGallery">
                                                            <a href="img/p_big1.jpg" title="图片" data-gallery=""><img src="img/p1.jpg"></a>
                                                            <a href="img/profile_big.jpg" title="图片" data-gallery=""><img src="img/p2.jpg"></a>

                                                            <div id="blueimp-gallery" class="blueimp-gallery">
                                                                <div class="slides"></div>
                                                                <h3 class="title"></h3>
                                                                <a class="prev">‹</a>
                                                                <a class="next">›</a>
                                                                <a class="close">×</a>
                                                                <a class="play-pause"></a>
                                                                <ol class="indicator"></ol>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="timeline-item">
                                                <div class="row">
                                                    <div class="col-xs-3 date">
                                                        <i class="fa fa-phone"></i> 11:00
                                                        <br>
                                                        <small class="text-navy"> 李四 </small>
                                                    </div>
                                                    <div class="col-xs-9 content">
                                                        <p class="m-b-xs">
                                                            <strong>分配工单</strong>
                                                        </p>
                                                        <p>
                                                            保养任务由王五分配给张三和李四
                                                        </p>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="timeline-item">
                                                <div class="row">
                                                    <div class="col-xs-3 date">
                                                        <i class="fa fa-user-md"></i> 09:00
                                                        <br>
                                                        <small class="text-navy"> 李四 </small>
                                                    </div>
                                                    <div class="col-xs-9 content">
                                                        <p class="m-b-xs">
                                                            <strong>创建工单</strong>
                                                        </p>
                                                        <p>
                                                            系统根据保养设置自动生成保养计划，并提醒服务处主管王五 [富力家园一期][1号楼][给水系统-循环泵][每年][5月1日-30日]
                                                        </p>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="timeline-item">
                                                <div class="row">
                                                    <div class="col-xs-3 date">
                                                        <i class="fa fa-comments"></i> 12:50
                                                        <br>
                                                        <small class="text-navy"> 李四 </small>
                                                    </div>
                                                    <div class="col-xs-9 content">
                                                        <p class="m-b-xs">
                                                            <strong>…………</strong>
                                                        </p>
                                                        <p>
                                                            开始
                                                        </p>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </td>

                                </tr>
                            </tbody>
                        </table>

                        <div class="text-right">
                            <button type="button" class="btn btn btn-primary"><i class="fa fa-search"></i>关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--查看工单End-->
    <!--修改工单Start-->
    <div id="modal-callback" class="modal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <span class="text-muted small pull-right">修改人：王珂珂 修改时间：<i class="fa fa-clock-o"></i> 2015-09-01 12:00</span>
                    <h3>修改工单</h3>
                    <div class="ibox-content">
                        <table class="table table-hover">
                            <tbody>
                                <tr>
                                    <td>
                                        <strong>工单工时：</strong>
                                    </td>
                                    <td>
                                        <input type="text" class="input form-control" value="30" placeholder="整数" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <strong>协助人：</strong>
                                    </td>
                                    <td>
                                        <div class="rule-multi-porp">
                                            <span id="cblActionType">
                                                <input id="cblActionType_0" type="checkbox" name="cblActionType$0" checked="checked" value="Show" />
                                                <label for="cblActionType_0">张三</label>
                                                <input id="cblActionType_1" type="checkbox" name="cblActionType$1" checked="checked" value="View" />
                                                <label for="cblActionType_1">李四</label>
                                                <input id="cblActionType_2" type="checkbox" name="cblActionType$2" checked="checked" value="Add" />
                                                <label for="cblActionType_2">王五</label>
                                                <input id="cblActionType_3" type="checkbox" name="cblActionType$3" checked="checked" value="Edit" />
                                                <label for="cblActionType_3">赵柳</label>
                                            </span>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <strong>修改原因：</strong>
                                    </td>
                                    <td>
                                        <textarea class="form-control" rows="3" >以示鼓励对以上4人分别计工时翻倍！</textarea>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div class="text-right">
                            <button type="button" class="btn btn btn-success demo4"><i class="fa fa-search"></i>审核</button>
                            <button type="button" class="btn btn btn-primary"><i class="fa fa-search"></i>放弃</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--回访工单End-->
    <!--开发提示文字Start-->
    <div id="modal-remark" class="modal fade" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-body">
                    <div class="well">
                        <h3>
                            前端开发事项：
                        </h3>
                        1、无
                    </div>
                    <div class="well well-lg">
                        <h3>
                            后台开发事项：
                        </h3>
                        <span style="color:red;">哪些订单需要审核呢？前提条件：所有维修工单已回款且已回访时，如果</span><br />
                        1、维修工程师自定义工单工时的工单，需要被审核<br />
                        2、所有有协助人的工单，需要被审核<br />
                        3、日志记录<br />
                        4、短信提醒对应的处理人和协助人<br />
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--开发提示文字End-->
    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>

    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>
    <!-- 为了多选按钮样式加的 -->
    <script src="js/common.js"></script>
    <!-- blueimp gallery -->
    <script src="js/plugins/blueimp/jquery.blueimp-gallery.min.js"></script>
    <!-- Bootstrap-Treeview plugin javascript -->
    <script src="js/plugins/treeview/bootstrap-treeview.js"></script>
    <script src="js/demo/treeview-projectdemo.min.js"></script>
    <!-- iCheck -->
    <script src="js/plugins/iCheck/icheck.min.js"></script>
    <!-- Sweet alert -->
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <script>
        $(document).ready(function () {
            $(".demo4").click(function () {
                swal({
                    title: "您确定要保存这条信息吗",
                    text: "确认后将无法撤销，请谨慎！",
                    type: "warning",
                    showCancelButton: true,
                    confirmButtonColor: "#DD6B55",
                    confirmButtonText: "是的，我要保存！",
                    cancelButtonText: "让我再考虑一下…",
                    closeOnConfirm: false,
                    closeOnCancel: false
                },
                function (a) {
                    if (a) {
                        swal({
                            title: "保存成功",
                            text: "您已经完成了本次收费，确定后将为您跳转至收费查询界面！",
                            type: "success",
                            showCancelButton: false,
                            confirmButtonColor: "#DD6B55",
                            confirmButtonText: "确定",
                            closeOnConfirm: false,
                            closeOnCancel: false
                        },
                        function (a) {
                            if (a) {
                                window.location = "workorder_audit.html";
                            } else {
                                swal("已取消", "您取消了保存操作！", "error")
                            }
                        })
                    } else {
                        swal("已取消", "您取消了保存操作！", "error")
                    }
                })
            });
        });
    </script>
    <!-- Chosen -->
    <script src="js/plugins/chosen/chosen.jquery.js"></script>
    <script>
        var config = {
            ".chosen-select": {},
            ".chosen-select-deselect": {
                allow_single_deselect: true
            },
            ".chosen-select-no-single": {
                disable_search_threshold: 10
            },
            ".chosen-select-no-results": {
                no_results_text: "Oops, nothing found!"
            },
            ".chosen-select-width": {
                width: "95%"
            }
        };
        for (var selector in config) {
            $(selector).chosen(config[selector])
        }

    </script>
    <script>
        $(function () {
            $('.full-height-scroll').slimScroll({
                height: '100%'
            });
        });
    </script>
    <script>
        $(document).ready(function () {
            $("#data_5 .input-daterange").datepicker({
                keyboardNavigation: false,
                forceParse: false,
                autoclose: true
            });
            $("#data_4 .input-group.date").datepicker({ format: 'yyyy', startView: 2, minViewMode: 2, keyboardNavigation: false, forceParse: false, autoclose: true, todayHighlight: true });

        });
    </script>
    <script>
        $(document).ready(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
        });
    </script>
    <script>
        $(document).ready(function () { $("#lightVersion").click(function (a) { a.preventDefault(); $("#ibox-content").removeClass("ibox-content"); $("#vertical-timeline").removeClass("dark-timeline"); $("#vertical-timeline").addClass("light-timeline") }); $("#darkVersion").click(function (a) { a.preventDefault(); $("#ibox-content").addClass("ibox-content"); $("#vertical-timeline").removeClass("light-timeline"); $("#vertical-timeline").addClass("dark-timeline") }); $("#leftVersion").click(function (a) { a.preventDefault(); $("#vertical-timeline").toggleClass("center-orientation") }) });
    </script>

    <!--统计代码，可删除-->
</body>
</html>